<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,0 initial-scale=1">
	<title></title>
</head>
<body>

<script type="text/javascript">

	function getArea(r){
		return Math.PI * r * r
	}
	function getLength(r){
		return 2 * Math.PI *r
	}
	console.log(getArea(2))
	console.log(getLength(4))
	
//编写一个函数,计算任意两个数字之间所能组成的所有奇数,数字必须是个位,例如 0 ~ 3 ==> 01 03 11 13 21 23 31 33 f1(0,3)	
	let a = ""
	function fn(start,end){
		for(let i = start; i <= end; i++){
			//找出个位数
			if(i % 2 == 1){
				for(let j = start; j <= end; j++){
					a+='' + j + i + " "
				}
			}
		}
		return a
	}

	console.log(fn(0,9))
</script>
</body>
</html>